package com.wyz.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;


@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("t_log")
public class LoginLog {
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    //    @TableField(value = "account")
    private String userAccount;//账号
    private String userName;//姓名
    private Date loginTime;//登录时间
    private Date logoutTime;//登出时间
    private String ipAddress;//ip地址


}
